<!--Copyright (C) Kherty.  All rights reserved.-->
<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    x:Class="OpenLS.UI.Themes.StringResources"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:s="clr-namespace:System;assembly=mscorlib"
                        xmlns:oui="http://schemas.Kherty.com/office/2007"

    >
  <DataTemplate DataType="{x:Type s:String}">
      <TextBlock Text="{Binding}" TextAlignment="Center"
                 TextWrapping="{Binding RelativeSource={RelativeSource Self}, Path=(oui:RibbonElement.TextWrapping)}"
                 MaxWidth ="{Binding RelativeSource={RelativeSource Self}, Path=(oui:RibbonElement.MaxTextWidth)}" />
  </DataTemplate>
</ResourceDictionary>